<?php

use Illuminate\Routing\Router;

Admin::registerAuthRoutes();

Route::group([
    'prefix'        => config('admin.route.prefix'),
    'namespace'     => config('admin.route.namespace'),
    'middleware'    => config('admin.route.middleware'),
], function (Router $router) {

    $router->get('/', 'HomeController@index');
    $router->resource('article' , 'ArticleController');
    $router->resource('class' , 'ClassController');
    $router->resource('config' , 'ConfigController');
    $router->resource('project' , 'ProjectController');
    $router->resource('org' , 'OrgController');

});
